#include <stdio.h>
#include <unistd.h>

int main( void )
{
	pid_t	pid = -1;
	int cnt = 0;

	printf( "Fuck!" );

	pid = fork();
	if ( -1 == pid )
		return -1;

	if ( 0 == pid ) {
		printf( "I'm child my pid is  [%u]\n", getpid() );
		cnt++;
	} else {
		printf( "I'm father my pid is [ %u ] my child pid is [%u].\n",getpid(),  pid );
		cnt++;
	}

	printf( "cnt is [ %d ].pid [%u]\n", cnt, getpid() );


	

	return 0;
}
